﻿namespace AnyOffice.Model
{
    using System;

    public class FlowFormTypeData
    {
        protected int _formId = -1;
        protected object _formModel;
        protected string _formName = string.Empty;

        public int FormId
        {
            get
            {
                return this._formId;
            }
            set
            {
                this._formId = value;
            }
        }

        public string FormModel
        {
            get
            {
                return (string) this._formModel;
            }
            set
            {
                this._formModel = value;
            }
        }

        public bool FormModelIsNull
        {
            get
            {
                return (this._formModel == null);
            }
            set
            {
                if (value)
                {
                    this._formModel = null;
                }
            }
        }

        public string FormName
        {
            get
            {
                return this._formName;
            }
            set
            {
                this._formName = value;
            }
        }
    }
}

